[INFO] cloning repository https://github.com/mnaircckel/Rust-Console-Adventure
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mnaircckel/Rust-Console-Adventure" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmnaircckel%2FRust-Console-Adventure", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmnaircckel%2FRust-Console-Adventure'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c143a3de6cf1bc5929cb3ca4c8eb69c4b5da383b
[INFO] building mnaircckel/Rust-Console-Adventure against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmnaircckel%2FRust-Console-Adventure" "/workspace/builds/worker-9/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/mnaircckel/Rust-Console-Adventure on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/mnaircckel/Rust-Console-Adventure
[INFO] finished tweaking git repo https://github.com/mnaircckel/Rust-Console-Adventure
[INFO] tweaked toml for git repo https://github.com/mnaircckel/Rust-Console-Adventure written to /workspace/builds/worker-9/source/Cargo.toml
[INFO] crate git repo https://github.com/mnaircckel/Rust-Console-Adventure already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 159511de41efb84497f657e7c61d8461639b47b75652550d34e919489f1acd86
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "159511de41efb84497f657e7c61d8461639b47b75652550d34e919489f1acd86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "159511de41efb84497f657e7c61d8461639b47b75652550d34e919489f1acd86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "159511de41efb84497f657e7c61d8461639b47b75652550d34e919489f1acd86", kill_on_drop: false }`
[INFO] [stdout] 159511de41efb84497f657e7c61d8461639b47b75652550d34e919489f1acd86
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4a71a8519b24ff4c3e5e23bfe9283163e98bccc70b8131699d835bfced3fd70a
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "4a71a8519b24ff4c3e5e23bfe9283163e98bccc70b8131699d835bfced3fd70a", kill_on_drop: false }`
[INFO] [stderr]    Compiling project v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `std::rand`
[INFO] [stdout]  --> src/game.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::rand;
[INFO] [stdout]   |     ^^^^^^^^^ no `rand` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::BufferedReader`
[INFO] [stdout]  --> src/game.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::BufferedReader;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^ no `BufferedReader` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::File`
[INFO] [stdout]  --> src/game.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^ no `File` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/game.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub level: int,
[INFO] [stdout]    |                ^^^
[INFO] [stdout]    |                |
[INFO] [stdout]    |                not found in this scope
[INFO] [stdout]    |                help: perhaps you intended to use this type: `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/game.rs:16:72
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub fn new(running: bool, player: Character, enemy: Character, level: int, monsters: Vec<Monster>) -> GameState {
[INFO] [stdout]    |                                                                           ^^^
[INFO] [stdout]    |                                                                           |
[INFO] [stdout]    |                                                                           not found in this scope
[INFO] [stdout]    |                                                                           help: perhaps you intended to use this type: `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/game.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     level: int,
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            not found in this scope
[INFO] [stdout]    |            help: perhaps you intended to use this type: `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/game.rs:33:10
[INFO] [stdout]    |
[INFO] [stdout] 33 |     health: int,
[INFO] [stdout]    |             ^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             not found in this scope
[INFO] [stdout]    |             help: perhaps you intended to use this type: `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/game.rs:39:10
[INFO] [stdout]    |
[INFO] [stdout] 39 |     level : int,
[INFO] [stdout]    |             ^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             not found in this scope
[INFO] [stdout]    |             help: perhaps you intended to use this type: `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/game.rs:40:14
[INFO] [stdout]    |
[INFO] [stdout] 40 |     max_health: int,
[INFO] [stdout]    |                 ^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 not found in this scope
[INFO] [stdout]    |                 help: perhaps you intended to use this type: `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/game.rs:41:18
[INFO] [stdout]    |
[INFO] [stdout] 41 |     current_health: int,
[INFO] [stdout]    |                     ^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     not found in this scope
[INFO] [stdout]    |                     help: perhaps you intended to use this type: `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/game.rs:46:34
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub fn new(name: String, level: int, max_health: int, current_health: int, alive: bool) -> Character {
[INFO] [stdout]    |                                     ^^^
[INFO] [stdout]    |                                     |
[INFO] [stdout]    |                                     not found in this scope
[INFO] [stdout]    |                                     help: perhaps you intended to use this type: `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/game.rs:46:51
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub fn new(name: String, level: int, max_health: int, current_health: int, alive: bool) -> Character {
[INFO] [stdout]    |                                                      ^^^
[INFO] [stdout]    |                                                      |
[INFO] [stdout]    |                                                      not found in this scope
[INFO] [stdout]    |                                                      help: perhaps you intended to use this type: `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/game.rs:46:72
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub fn new(name: String, level: int, max_health: int, current_health: int, alive: bool) -> Character {
[INFO] [stdout]    |                                                                           ^^^
[INFO] [stdout]    |                                                                           |
[INFO] [stdout]    |                                                                           not found in this scope
[INFO] [stdout]    |                                                                           help: perhaps you intended to use this type: `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/game.rs:60:22
[INFO] [stdout]    |
[INFO] [stdout] 60 |     fn attack(&self) -> int{
[INFO] [stdout]    |                         ^^^
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         not found in this scope
[INFO] [stdout]    |                         help: perhaps you intended to use this type: `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/game.rs:61:52
[INFO] [stdout]    |
[INFO] [stdout] 61 |         self.level * ( (rand::random::<f64>() * 4f64) as int)
[INFO] [stdout]    |                                                          ^^^
[INFO] [stdout]    |                                                          |
[INFO] [stdout]    |                                                          not found in this scope
[INFO] [stdout]    |                                                          help: perhaps you intended to use this type: `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/game.rs:64:31
[INFO] [stdout]    |
[INFO] [stdout] 64 |     fn defend(&mut self, damage: int){
[INFO] [stdout]    |                                  ^^^
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  not found in this scope
[INFO] [stdout]    |                                  help: perhaps you intended to use this type: `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/game.rs:65:36
[INFO] [stdout]    |
[INFO] [stdout] 65 |         self.current_health -= damage as int;
[INFO] [stdout]    |                                          ^^^
[INFO] [stdout]    |                                          |
[INFO] [stdout]    |                                          not found in this scope
[INFO] [stdout]    |                                          help: perhaps you intended to use this type: `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/game.rs:89:27
[INFO] [stdout]    |
[INFO] [stdout] 88 | fn new_enemy(actionHandler: &mut GameState) -> Character {
[INFO] [stdout]    |             - help: you might be missing a type parameter: `<uint>`
[INFO] [stdout] 89 |     let num = rand::random::<uint>() % 13;
[INFO] [stdout]    |                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]    --> src/game.rs:84:25
[INFO] [stdout]     |
[INFO] [stdout] 84  |     let name = io::stdin().read_line().ok().expect("Failed to read name.");
[INFO] [stdout]     |                            ^^^^^^^^^- supplied 0 arguments
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            expected 1 argument
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for type `usize` in the current scope
[INFO] [stdout]   --> src/game.rs:85:22
[INFO] [stdout]    |
[INFO] [stdout] 85 |     Character::new(name.as_slice().trim().to_string(),1,100,100,true)
[INFO] [stdout]    |                         ^^^^^^^^ method not found in `usize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]    --> src/game.rs:109:27
[INFO] [stdout]     |
[INFO] [stdout] 109 |         let input = io::stdin().read_line().ok().expect("Failed to read option.");
[INFO] [stdout]     |                                 ^^^^^^^^^- supplied 0 arguments
[INFO] [stdout]     |                                 |
[INFO] [stdout]     |                                 expected 1 argument
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `trim` found for type `usize` in the current scope
[INFO] [stdout]    --> src/game.rs:110:15
[INFO] [stdout]     |
[INFO] [stdout] 110 |         match input.trim().as_slice() {
[INFO] [stdout]     |                     ^^^^ method not found in `usize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]    --> src/game.rs:135:26
[INFO] [stdout]     |
[INFO] [stdout] 135 |     let input = io::stdin().read_line().ok().expect("Failed to read option.");
[INFO] [stdout]     |                             ^^^^^^^^^- supplied 0 arguments
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             expected 1 argument
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `trim` found for type `usize` in the current scope
[INFO] [stdout]    --> src/game.rs:136:14
[INFO] [stdout]     |
[INFO] [stdout] 136 |     match input.trim().as_slice() {
[INFO] [stdout]     |                 ^^^^ method not found in `usize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]    --> src/game.rs:157:27
[INFO] [stdout]     |
[INFO] [stdout] 157 |         let input = io::stdin().read_line().ok().expect("Failed to read option.");
[INFO] [stdout]     |                                 ^^^^^^^^^- supplied 0 arguments
[INFO] [stdout]     |                                 |
[INFO] [stdout]     |                                 expected 1 argument
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `trim` found for type `usize` in the current scope
[INFO] [stdout]    --> src/game.rs:158:15
[INFO] [stdout]     |
[INFO] [stdout] 158 |         match input.trim().as_slice() {
[INFO] [stdout]     |                     ^^^^ method not found in `usize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 26 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0412, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `project`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "4a71a8519b24ff4c3e5e23bfe9283163e98bccc70b8131699d835bfced3fd70a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4a71a8519b24ff4c3e5e23bfe9283163e98bccc70b8131699d835bfced3fd70a", kill_on_drop: false }`
[INFO] [stdout] 4a71a8519b24ff4c3e5e23bfe9283163e98bccc70b8131699d835bfced3fd70a
